tinyMCE.init({
    mode : "exact",
    elements :"textareaEditor",
    theme : "advanced",
    skin : "o2k7",
    skin_variant : "silver",
    language:'zh',
    height:'400',
    width:'100%',
    
    plugins:"pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist,brkimgcut,brkimgzoom",

    theme_advanced_buttons1 : "newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontselect,fontsizeselect,|,cite,abbr,acronym,del,ins,attribs,|,help,brkimgcut,brkimgzoom",
    theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup|,insertdate,inserttime,|,forecolor,backcolor,styleprops,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
    theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,insertlayer,moveforward,movebackward,absolute,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen,code,preview",//
    theme_advanced_statusbar_location : "top",
    //    theme_advanced_toolbar_location : "top",
    theme_advanced_toolbar_align : "left",
    convert_urls : false,
    convert_fonts_to_spans : true,
    theme_advanced_blockformats : "div,p,pre,address,h1,h2,h3,h4,h5,h6",
    font_size_style_values : "10px,12px,14px,18px,24px,36px,72px",
    theme_advanced_fonts : "宋体=宋体,仿宋,新宋体;黑体=黑体;微软雅黑=微软雅黑;隶书=隶书;幼圆=幼圆;Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace ;Tahoma=Tahoma, Geneva, sans-serif;Times New Roman=Times New Roman, Times, serif;Verdana=Verdana, Geneva, sans-serif",

    // Drop lists for link/image/media/template dialogs
    template_external_list_url : "system/data/mce/lists/template_list.js",
    external_link_list_url : "system/data/mce/lists/link_list.js",
    external_image_list_url : "system/data/mce/lists/image_list.js",
    media_external_list_url : "system/data/mce/lists/media_list.js"
    
// Replace values for the template plugin
//template_replace_values : {
//username : "Some User",
//staffid : "991234"
//}
});